

var ConfigurationAccessDistant = new (function() {

	function initAutoDiagnostic() {
		var req = new Request(FreeboxLinkAPI.getURLFreebox(),Request.GET);
		req.onload = function(e) {
			if (req.getStatus() == 200) {
				
			}
		}
		req.onerror = function(e) {
			console.log(req.getStatus());
		}
		req.start();
	}

	JSD.onready(function() {
		var url = FreeboxLinkAPI.getURLFreebox();
		var linksfreebox = JSD.$(".url-freebox");
		for (var i = 0; i < linksfreebox.length; i++) {
			var linkfreebox = linksfreebox[i];
			linkfreebox.href = url;
			linkfreebox.innerHTML = url;
		}
		initAutoDiagnostic();
	});
});